

class SpecDecodeMetadata:
    spec_token_ids = []
    spec_token_probs = []

    def __init__(self, spec_token_ids=[], spec_token_probs=[]):
        self.spec_token_ids = spec_token_ids
        self.spec_token_probs = spec_token_probs

    def __len__(self):
        return len(self.spec_token_ids)
    